import axios from 'axios'

//创建axios实例
const service = axios.create({
  baseURL: 'http://localhost:3000',//'https://apis.map.qq.com',//api的base_url
  timeout: 30000 //请求超时
})

export default service